package cn.cs.service;


import cn.cs.common.Page;
import cn.cs.pojo.CsFactory;

import java.util.List;
import java.util.Map;

public interface CsFactoryService {

    public CsFactory getCsFactoryById(String id) throws Exception;

    public CsFactory getCsFactoryByUserName(String username) throws Exception;

    public List<CsFactory> getCsFactoryListByMap(Map<String, Object> param) throws Exception;

    public Integer getCsFactoryCountByMap(Map<String, Object> param) throws Exception;

    public Integer addCsFactory(CsFactory csFactory) throws Exception;

    public Integer modifyCsFactory(CsFactory csFactory) throws Exception;

    public Integer deleteCsFactoryById(String id) throws Exception;

    public Page<CsFactory> queryCsFactoryPageByMap(Map<String, Object> param, Integer pageNo, Integer pageSize) throws Exception;
}
